﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.IRepository
{
    public interface IDepartmentRepository
    {
        List<CMS.Model.Department> SelectDepartmentById(int departmentId);

        List<CMS.Model.Department> SelectAllDepartment(int pageIndex, int pageSize);

        List<CMS.Model.Department> SelectAllDepartment();

        void UpdateDepartment(CMS.Model.Department departmentInstance);

        void InsertDepartment(CMS.Model.Department departmentInstance);

        void DeleteDepartmentById(int departmentId);
    }
}
